package com.zzb.springcloud;

import com.zzb.myrule.MyRibbonRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description
 * @CreateTime 2021/4/16 0016 16:27
 * @Author 不浪小生
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients
//@RibbonClient(value = "CLOUD-PROVIDER-PAYMENT", configuration = MyRibbonRule.class)
public class OrderMain {

    public static void main(String ... args) {
        SpringApplication.run(OrderMain.class, args);
    }
}
